#include "objects.h"

#define _SYMBOL(name) Thing name;
ALL_SYMBOLS;
#undef _SYMBOL

// define all syscalls.
#define _SYSCALL(name, permissions) Thing name;
ALL_SYSCALLS
#undef _SYSCALL

void InitObjects() {
  static int inited = 0; if (inited++) return;
  
  ThreadAllocator ta;
#define _SYMBOL(x) x = ta.MakeSymbol(#x);
  ALL_SYMBOLS;
#undef _SYMBOL
}
